package com.terren.webdig.setting.service;

import java.util.List;

import com.terren.webdig.setting.entity.LoginUser;

public interface IUserLoginService {

	/**
	 * 用户登录
	 * 
	 * @param loginUser
	 * @return
	 */
	LoginUser userLogin(LoginUser loginUser) throws Exception;

	List<LoginUser> getUserId(LoginUser loginUser) throws Exception;

	/**
	 * 验证账号是否存在
	 * 
	 * @param param
	 * @return
	 * @throws Exception
	 */
	boolean validateUserName(LoginUser param) throws Exception;

	LoginUser getUserByName(LoginUser param) throws Exception;

}
